<!DOCTYPE html>
<html lang="cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- <table>
        <tr>
            <th>价格</th>
            <th>数量</th>
            <th>总价</th>
            <th>地址</th>
        </tr>
        <tr>
            <td>price</td>
            <td>num</td>
            <td>total</td>
            <td>address</td>
        </tr>
    </table> -->
    陆梓峰 24510206097
</body>

</html>
<script>
    let price, num, total, address;
    price = prompt("请输入价格");
    num = prompt("请输入数量");
    address = prompt("请输入收货地址");
    total = price * num;

    // document.write("<b>G0AT !</b>" + price + "元");
    document.write(`<table>
        <tr>
            <th>价格</th>
            <th>数量</th>
            <th>总价</th>
            <th>地址</th>
        </tr>
        <tr>
            <td>${price}</td>
            <td>${num}</td>
            <td>${total}</td>
            <td>${address}</td>
        </tr>
    </table>`);
</script>